interface Validate {
  name: string
  say(): void
}


interface Validate {
  // address:[string]   //["beijing"]
  address: string[]
}


class Person implements Validate {
  name: string
  address: string[]
  say(): void {
    console.log(this.name)
  }

}





// let p=new Validate()
// class Person implements Validate {
//   name: "张三"
//   say() {
//     console.log(this.name)
//   }

// }